﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DemoPersonalizeSearch
{
    [Serializable]
    public class Option
    {
        public Option()
        {
            IsCache = true;
            IsPersonal = true;
            MaxResultGet = 25;
            MaxResultShowed = 25;
        }
        public Option(bool cache,bool personal,int maxget,int maxshowed)
        {
            IsCache = cache;
            IsPersonal = personal;
            MaxResultGet = maxget;
            MaxResultShowed = maxshowed;
        }
        public bool IsCache { get; set; }
        public bool IsPersonal { get; set; }
        public int MaxResultGet { get; set; }
        public int MaxResultShowed { get; set; }
    }
}